package com.fyt.utils;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author Tunan
 * @version 1.0
 * @since 2023/11/1
 * 执行代码请求
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ExecuteCodeRequest {

    /**
     *  从数据库中获取的题目输入样例
     */
    private List<String> inputList;

    /**
     * 用户提交的代码
     */
    private String code;

    /**
     * 语言
     */
    private QuestionSubmitLanguageEnum language;
}
